﻿@model HomePageProductsModel

@using Autofac
@using Nop.Core
@using Nop.Core.Domain.Customers
@using Nop.Core.Infrastructure
@using Nop.Web.Models.Catalog;
@using Nop.Web.Extensions;


@if (Model.Products.Count > 0)
{
    <div class="homepage-products row">
        <h2 class="list-section-title">
            @T("HomePage.Products")
        </h2>
        <div class="window-title-links hide">
            @Html.ActionLink("Featured Products", "StoreAll", new { }, new { @class = "button-grey" })
            @{
    //+string+
            }
        </div>
        <div class="product-container product-container-carousel">
            @foreach (var item in Model.Products)
            {
                @Html.Partial("_ProductBox", item, new ViewDataDictionary()
                {
                    { "IsLogin", Model.IsLogin }
                })
            }
        </div>

        <div class="pager" style="display:none;">
            @*Html.Pager(Model.PageModel).QueryParam("pagenumber")*@
        </div>
    </div>
}